package util;

public interface IPersistenceMechanism {

    public void connect(Object classe) throws PersistenceMechanismException;
	public void disconnect() throws PersistenceMechanismException;
	public Object getCommunicationChannel(Object classe) throws PersistenceMechanismException;
	public void releaseCommunicationChannel() throws PersistenceMechanismException;
	public void beginTransaction() throws TransactionException;
    public void commitTransaction() throws TransactionException;
	public void rollbackTransaction() throws TransactionException;
}
